package com.hello.web.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hello.common.domain.entity.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;


/**
 * 用户角色关联表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_user_roles")
@Entity(name = "t_user_roles")
@org.hibernate.annotations.Table(appliesTo = "t_user_roles", comment = "用户角色关联表")
public class UserRoleDO extends BaseDO {

    private Long userId;

    private Long roleId;

}